package com.snail.readyvr.mvp.contract;

import com.snail.readyvr.mvp.model.VideoHistory;
import com.snail.readyvr.mvp.presenter.BasePresenter;
import com.snail.readyvr.mvp.view.BaseView;

import java.util.List;

/**
 * Created by MRKING on 2016/10/10.
 */

public interface AddVideoActivityContract {

    interface View extends BaseView<Presenter> {

        void setPresenter(Presenter presenter);

        void findAllVideoHistorySuccess(List<VideoHistory> videoHistories);

        void deleteAllVideosSuccess();
    }


    interface Presenter extends BasePresenter {

        void addVideo(VideoHistory videoHistory);

        void findAllVideoHistory(String userName);

        void deleteAllVideos();
    }
}
